﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IRecipeConfigService
    {
        public List<RecipeConfigModel> MendingRange(List<RecipeConfig> entities);
        public RecipeConfigModel Mending(RecipeConfig entity);
        //查询
        public List<RecipeConfig> GetAllRecipeConfigs();
        public RecipeConfig GetRecipeConfigById(string id);
        public bool addRecipeConfig(RecipeConfig entity);
        public bool updateRecipeConfig(RecipeConfig model);
        public bool DeleteRecipeConfig(string id);
        public bool BatchDelRecipeConfig(List<string> ids);
        public List<RecipeConfig> GetRecipeConfigsByRecipeId(string id);
    }
}
